package com.yuanfeng.order.service;

import com.yuanfeng.commoms.util.ResponseResult;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName OrderSupplierCreateController
 * @Description 供应商 创建订单 计算价格
 * @Author cyp
 * @Date 2023/7/14 15:23
 * @Version 1.0
 */
public interface OrderSupplierCreateServer {
    /**
     * 计算价格
     * @param message
     * @return
     */
    ResponseResult calculatePrice(String message);

    /**
     * 创建供应商订单
     * @param message
     * @param request
     * @return
     */
    ResponseResult createOrders(String message, HttpServletRequest request);
}
